﻿@model IEnumerable<WebVideo.EntityFriend>
@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-1.7.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-ui-1.8.16.custom.min.js")" type="text/javascript"></script>
<script type="text/javascript"  src="@Url.Content("~/Content/cssAdmin/js/custom/tables.js")" ></script>
<script type="text/javascript"  src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery.dataTables.min.js")" ></script>

<ul class="maintabmenu multipletabmenu">
    <li class="current"><a href="@Url.Action("Index", "Friend")" >Friend</a></li>
    <li class="current"><a href="@Url.Action("Level", "Friend")" >Level Friend</a></li>
</ul>
<!-- notification msgerror -->
<div class="contenttitle">
    <h2 class="form"><span>List Friend</span></h2>
</div>
<!--contenttitle-->
<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable">
    <colgroup>
        <col class="con0" />
        <col class="con1" />
        <col class="con0" />
        <col class="con1" />
    </colgroup>
    <thead>
        <tr>
            <th class="head0">Id</th>
            <th class="head1">Username</th>
            <th class="head1">Cấp bạn bè</th>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <th class="head0">Id</th>
            <th class="head1">Username</th>
            <th class="head1">Cấp bạn bè</th>
        </tr>
    </tfoot>
    <tbody>
        @{
            foreach (var item in Model)
            {
            <tr class="gradeX">
                <td>
                    @Html.DisplayFor(modelitem => item.Id)
                </td>
                <td>
                    @Html.DisplayFor(modelitem => item.UserName)
                </td>
                <td>
                    @Html.DisplayFor(modelitem => item.LevelFriend)
                </td>               
            </tr> 
            }                       
        }
    </tbody>
</table>

